import "./table.scss";

type TableRowProps = {
  children: React.ReactElement | React.ReactElement[];
  color?: string;
};

export const Tr = ({ children, color }: TableRowProps) => {
  return (
    <>
      <div className="dashboard_table_row" style={{ background: color }}>
        {children}
      </div>
    </>
  );
};
